package com.group.sliding.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "sliding.elasticsearch")
public class ESProperties {
    private String host;
    private int port;
    public String indexName;
}
